import { RMIProxyObject } from "../../Engine/RMI/RMIProxyObject";
import { ICopyPrx } from "./ICopyPrx";
import { AMI_ICopy_SignUpCrossSpiritWar } from "./AMI_ICopy_SignUpCrossSpiritWar";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { Outgoing } from "../../Engine/RMI/Outgoing";
import { AMI_ICopy_abandonFlag } from "./AMI_ICopy_abandonFlag";
import { AMI_ICopy_agree } from "./AMI_ICopy_agree";
import { EGroupMsgType } from "../Public/EGroupMsgType";
import { SEntityId } from "../Public/SEntityId";
import { AMI_ICopy_answerVerificationCode } from "./AMI_ICopy_answerVerificationCode";
import { AMI_ICopy_arenaCrossSendFlower } from "./AMI_ICopy_arenaCrossSendFlower";
import { AMI_ICopy_auctionDominionCity } from "./AMI_ICopy_auctionDominionCity";
import { AMI_ICopy_betArenaCross } from "./AMI_ICopy_betArenaCross";
import { AMI_ICopy_chooseArenaCrossFinalPos } from "./AMI_ICopy_chooseArenaCrossFinalPos";
import { AMI_ICopy_chooseArenaCrossGroup } from "./AMI_ICopy_chooseArenaCrossGroup";
import { AMI_ICopy_chooseCrossGuildWarEnemy } from "./AMI_ICopy_chooseCrossGuildWarEnemy";
import { AMI_ICopy_chooseCrossGuildWarGroup } from "./AMI_ICopy_chooseCrossGuildWarGroup";
import { AMI_ICopy_createGroup } from "./AMI_ICopy_createGroup";
import { AMI_ICopy_doNextDrama } from "./AMI_ICopy_doNextDrama";
import { AMI_ICopy_drawArenaCrossBetReward } from "./AMI_ICopy_drawArenaCrossBetReward";
import { AMI_ICopy_drawCopyExp } from "./AMI_ICopy_drawCopyExp";
import { AMI_ICopy_enterArena } from "./AMI_ICopy_enterArena";
import { AMI_ICopy_enterArenaCross } from "./AMI_ICopy_enterArenaCross";
import { AMI_ICopy_enterBattleField } from "./AMI_ICopy_enterBattleField";
import { AMI_ICopy_enterBossField } from "./AMI_ICopy_enterBossField";
import { AMI_ICopy_enterChaosFight } from "./AMI_ICopy_enterChaosFight";
import { AMI_ICopy_enterCopy } from "./AMI_ICopy_enterCopy";
import { AMI_ICopy_enterCopyEx } from "./AMI_ICopy_enterCopyEx";
import { AMI_ICopy_enterCopyWaitingRoom } from "./AMI_ICopy_enterCopyWaitingRoom";
import { AMI_ICopy_enterCountryMoneyCopy } from "./AMI_ICopy_enterCountryMoneyCopy";
import { AMI_ICopy_enterCrossBeach } from "./AMI_ICopy_enterCrossBeach";
import { AMI_ICopy_enterCrossBoss } from "./AMI_ICopy_enterCrossBoss";
import { AMI_ICopy_enterCrossBossEntrance } from "./AMI_ICopy_enterCrossBossEntrance";
import { AMI_ICopy_enterCrossBossField } from "./AMI_ICopy_enterCrossBossField";
import { AMI_ICopy_enterCrossCopy } from "./AMI_ICopy_enterCrossCopy";
import { AMI_ICopy_enterCrossCopyWaitingRoom } from "./AMI_ICopy_enterCrossCopyWaitingRoom";
import { AMI_ICopy_enterCrossGuildWar } from "./AMI_ICopy_enterCrossGuildWar";
import { AMI_ICopy_enterCrossSea } from "./AMI_ICopy_enterCrossSea";
import { AMI_ICopy_enterCrossSpa } from "./AMI_ICopy_enterCrossSpa";
import { AMI_ICopy_enterCrossSpiritWar } from "./AMI_ICopy_enterCrossSpiritWar";
import { AMI_ICopy_enterCrossStair } from "./AMI_ICopy_enterCrossStair";
import { AMI_ICopy_enterDirectionDropCopy } from "./AMI_ICopy_enterDirectionDropCopy";
import { AMI_ICopy_enterDominion } from "./AMI_ICopy_enterDominion";
import { AMI_ICopy_enterDrama } from "./AMI_ICopy_enterDrama";
import { AMI_ICopy_enterEatBeans } from "./AMI_ICopy_enterEatBeans";
import { AMI_ICopy_enterFairyland } from "./AMI_ICopy_enterFairyland";
import { AMI_ICopy_enterGuild } from "./AMI_ICopy_enterGuild";
import { AMI_ICopy_enterGuildAltar } from "./AMI_ICopy_enterGuildAltar";
import { AMI_ICopy_enterGuildDefense } from "./AMI_ICopy_enterGuildDefense";
import { AMI_ICopy_enterGuildElite } from "./AMI_ICopy_enterGuildElite";
import { AMI_ICopy_enterGuildPasture } from "./AMI_ICopy_enterGuildPasture";
import { AMI_ICopy_enterGuildRobCityOne } from "./AMI_ICopy_enterGuildRobCityOne";
import { AMI_ICopy_enterGuildRobCityThree } from "./AMI_ICopy_enterGuildRobCityThree";
import { AMI_ICopy_enterGuildRobCityTwo } from "./AMI_ICopy_enterGuildRobCityTwo";
import { AMI_ICopy_enterGuildStruggle } from "./AMI_ICopy_enterGuildStruggle";
import { AMI_ICopy_enterGuildWar } from "./AMI_ICopy_enterGuildWar";
import { AMI_ICopy_enterHell } from "./AMI_ICopy_enterHell";
import { AMI_ICopy_enterKingChampionship } from "./AMI_ICopy_enterKingChampionship";
import { AMI_ICopy_enterLadder } from "./AMI_ICopy_enterLadder";
import { AMI_ICopy_enterMagicTower } from "./AMI_ICopy_enterMagicTower";
import { AMI_ICopy_enterNewBattleField } from "./AMI_ICopy_enterNewBattleField";
import { AMI_ICopy_enterPeaceFieldList } from "./AMI_ICopy_enterPeaceFieldList";
import { AMI_ICopy_enterPlough } from "./AMI_ICopy_enterPlough";
import { AMI_ICopy_enterRace } from "./AMI_ICopy_enterRace";
import { AMI_ICopy_enterRobFlag } from "./AMI_ICopy_enterRobFlag";
import { AMI_ICopy_enterSkyCity } from "./AMI_ICopy_enterSkyCity";
import { AMI_ICopy_enterSpa } from "./AMI_ICopy_enterSpa";
import { AMI_ICopy_enterVIPHook } from "./AMI_ICopy_enterVIPHook";
import { AMI_ICopy_enterWatchRecordCopy } from "./AMI_ICopy_enterWatchRecordCopy";
import { AMI_ICopy_enterWedding } from "./AMI_ICopy_enterWedding";
import { AMI_ICopy_findGroup } from "./AMI_ICopy_findGroup";
import { AMI_ICopy_findPlayer } from "./AMI_ICopy_findPlayer";
import { ECopyOrderType } from "../Public/ECopyOrderType";
import { AMI_ICopy_focusArenaCrossPlayer } from "./AMI_ICopy_focusArenaCrossPlayer";
import { AMI_ICopy_getArenaBattles } from "./AMI_ICopy_getArenaBattles";
import { AMI_ICopy_getArenaCrossBattleRecords } from "./AMI_ICopy_getArenaCrossBattleRecords";
import { AMI_ICopy_getArenaCrossBattles } from "./AMI_ICopy_getArenaCrossBattles";
import { AMI_ICopy_getArenaCrossBetPlayerInfos } from "./AMI_ICopy_getArenaCrossBetPlayerInfos";
import { AMI_ICopy_getArenaCrossBetToplists } from "./AMI_ICopy_getArenaCrossBetToplists";
import { AMI_ICopy_getArenaCrossFightRecords } from "./AMI_ICopy_getArenaCrossFightRecords";
import { AMI_ICopy_getArenaCrossFinalBattles } from "./AMI_ICopy_getArenaCrossFinalBattles";
import { AMI_ICopy_getArenaCrossGroupBattles } from "./AMI_ICopy_getArenaCrossGroupBattles";
import { AMI_ICopy_getArenaCrossGroupMembers } from "./AMI_ICopy_getArenaCrossGroupMembers";
import { AMI_ICopy_getArenaCrossInfo } from "./AMI_ICopy_getArenaCrossInfo";
import { AMI_ICopy_getArenaCrossMyBetInfos } from "./AMI_ICopy_getArenaCrossMyBetInfos";
import { AMI_ICopy_getArenaCrossPlayerInfo } from "./AMI_ICopy_getArenaCrossPlayerInfo";
import { AMI_ICopy_getArenaCrossRecords } from "./AMI_ICopy_getArenaCrossRecords";
import { AMI_ICopy_getArenaCrossTablet } from "./AMI_ICopy_getArenaCrossTablet";
import { AMI_ICopy_getArenaCrossToplist } from "./AMI_ICopy_getArenaCrossToplist";
import { AMI_ICopy_getArenaToplist } from "./AMI_ICopy_getArenaToplist";
import { AMI_ICopy_getBattleFieldInfo } from "./AMI_ICopy_getBattleFieldInfo";
import { AMI_ICopy_getBattleFieldScoreList } from "./AMI_ICopy_getBattleFieldScoreList";
import { AMI_ICopy_getBossFieldInfo } from "./AMI_ICopy_getBossFieldInfo";
import { AMI_ICopy_getBossFieldScoreList } from "./AMI_ICopy_getBossFieldScoreList";
import { AMI_ICopy_getBossHatredInfos } from "./AMI_ICopy_getBossHatredInfos";
import { AMI_ICopy_getCopyMarkBreakReward } from "./AMI_ICopy_getCopyMarkBreakReward";
import { AMI_ICopy_getCopyMarkReward } from "./AMI_ICopy_getCopyMarkReward";
import { AMI_ICopy_getCopyWaitingRoomInfo } from "./AMI_ICopy_getCopyWaitingRoomInfo";
import { AMI_ICopy_getCountryMoneyActiveInfo } from "./AMI_ICopy_getCountryMoneyActiveInfo";
import { AMI_ICopy_getCountryMoneyCopyRank } from "./AMI_ICopy_getCountryMoneyCopyRank";
import { AMI_ICopy_getCrossBeachList } from "./AMI_ICopy_getCrossBeachList";
import { AMI_ICopy_getCrossBossFieldInfo } from "./AMI_ICopy_getCrossBossFieldInfo";
import { AMI_ICopy_getCrossBossGuildInfos } from "./AMI_ICopy_getCrossBossGuildInfos";
import { AMI_ICopy_getCrossCopyWaitingRoomInfo } from "./AMI_ICopy_getCrossCopyWaitingRoomInfo";
import { AMI_ICopy_getCrossGuildWarFinalRank } from "./AMI_ICopy_getCrossGuildWarFinalRank";
import { AMI_ICopy_getCrossGuildWarMatchInfo } from "./AMI_ICopy_getCrossGuildWarMatchInfo";
import { AMI_ICopy_getCrossSeaList } from "./AMI_ICopy_getCrossSeaList";
import { AMI_ICopy_getCrossSpaList } from "./AMI_ICopy_getCrossSpaList";
import { AMI_ICopy_getCrossSpiritWarCoinGetToplist } from "./AMI_ICopy_getCrossSpiritWarCoinGetToplist";
import { AMI_ICopy_getCrossSpiritWarObserveList } from "./AMI_ICopy_getCrossSpiritWarObserveList";
import { AMI_ICopy_getCrossSpiritWarWaitingRoomInfo } from "./AMI_ICopy_getCrossSpiritWarWaitingRoomInfo";
import { AMI_ICopy_getCrossStairRank } from "./AMI_ICopy_getCrossStairRank";
import { AMI_ICopy_getDirectionCopyInfo } from "./AMI_ICopy_getDirectionCopyInfo";
import { AMI_ICopy_getDominionAuctionCityList } from "./AMI_ICopy_getDominionAuctionCityList";
import { AMI_ICopy_getDominionChatList } from "./AMI_ICopy_getDominionChatList";
import { AMI_ICopy_getDominionCityList } from "./AMI_ICopy_getDominionCityList";
import { AMI_ICopy_getDominionInfo } from "./AMI_ICopy_getDominionInfo";
import { AMI_ICopy_getDominionMatchList } from "./AMI_ICopy_getDominionMatchList";
import { AMI_ICopy_getDominionScoreList } from "./AMI_ICopy_getDominionScoreList";
import { AMI_ICopy_getDominionSituationList } from "./AMI_ICopy_getDominionSituationList";
import { AMI_ICopy_getFairylandCopys } from "./AMI_ICopy_getFairylandCopys";
import { AMI_ICopy_getGuildEliteCopyPlayerNum } from "./AMI_ICopy_getGuildEliteCopyPlayerNum";
import { AMI_ICopy_getGuildRobCityOneScoreList } from "./AMI_ICopy_getGuildRobCityOneScoreList";
import { AMI_ICopy_getGuildWarCopyInfos } from "./AMI_ICopy_getGuildWarCopyInfos";
import { AMI_ICopy_getGuildWarScoreList } from "./AMI_ICopy_getGuildWarScoreList";
import { AMI_ICopy_getKingChampionshipJoinTeamInfo } from "./AMI_ICopy_getKingChampionshipJoinTeamInfo";
import { AMI_ICopy_getKingChampionshipRank } from "./AMI_ICopy_getKingChampionshipRank";
import { AMI_ICopy_getLadderBattles } from "./AMI_ICopy_getLadderBattles";
import { AMI_ICopy_getLadderMyInfo } from "./AMI_ICopy_getLadderMyInfo";
import { AMI_ICopy_getLadderPlayerInfo } from "./AMI_ICopy_getLadderPlayerInfo";
import { AMI_ICopy_getLadderToplist } from "./AMI_ICopy_getLadderToplist";
import { AMI_ICopy_getMyArenaCrossInfo } from "./AMI_ICopy_getMyArenaCrossInfo";
import { AMI_ICopy_getMyArenaInfo } from "./AMI_ICopy_getMyArenaInfo";
import { AMI_ICopy_getMyDramaInfo } from "./AMI_ICopy_getMyDramaInfo";
import { AMI_ICopy_getNewBattleFieldList } from "./AMI_ICopy_getNewBattleFieldList";
import { AMI_ICopy_getNewBattleFieldScoreList } from "./AMI_ICopy_getNewBattleFieldScoreList";
import { AMI_ICopy_getPeaceFieldList } from "./AMI_ICopy_getPeaceFieldList";
import { AMI_ICopy_getRaceRooms } from "./AMI_ICopy_getRaceRooms";
import { AMI_ICopy_getRobCityThreeJoinTeamInfo } from "./AMI_ICopy_getRobCityThreeJoinTeamInfo";
import { AMI_ICopy_getRobCityThreeRank } from "./AMI_ICopy_getRobCityThreeRank";
import { AMI_ICopy_getRobCityTwoJoinTeamInfo } from "./AMI_ICopy_getRobCityTwoJoinTeamInfo";
import { AMI_ICopy_getRobCityTwoRank } from "./AMI_ICopy_getRobCityTwoRank";
import { AMI_ICopy_getSkyCityList } from "./AMI_ICopy_getSkyCityList";
import { AMI_ICopy_getSpaList } from "./AMI_ICopy_getSpaList";
import { AMI_ICopy_getWeddingGuests } from "./AMI_ICopy_getWeddingGuests";
import { AMI_ICopy_getWeddingNpcShop } from "./AMI_ICopy_getWeddingNpcShop";
import { AMI_ICopy_giveUpArena } from "./AMI_ICopy_giveUpArena";
import { AMI_ICopy_inspireInBossField } from "./AMI_ICopy_inspireInBossField";
import { AMI_ICopy_inspireInNewBattleField } from "./AMI_ICopy_inspireInNewBattleField";
import { AMI_ICopy_invite } from "./AMI_ICopy_invite";
import { AMI_ICopy_inviteDominionAlliance } from "./AMI_ICopy_inviteDominionAlliance";
import { AMI_ICopy_inviteDominionAllianceReply } from "./AMI_ICopy_inviteDominionAllianceReply";
import { AMI_ICopy_joinGroup } from "./AMI_ICopy_joinGroup";
import { AMI_ICopy_kickOutGroup } from "./AMI_ICopy_kickOutGroup";
import { AMI_ICopy_leftBattleField } from "./AMI_ICopy_leftBattleField";
import { AMI_ICopy_leftBossField } from "./AMI_ICopy_leftBossField";
import { AMI_ICopy_leftChaosFight } from "./AMI_ICopy_leftChaosFight";
import { AMI_ICopy_leftEatBeans } from "./AMI_ICopy_leftEatBeans";
import { AMI_ICopy_leftGroup } from "./AMI_ICopy_leftGroup";
import { AMI_ICopy_leftGuild } from "./AMI_ICopy_leftGuild";
import { AMI_ICopy_leftHell } from "./AMI_ICopy_leftHell";
import { AMI_ICopy_leftRobFlag } from "./AMI_ICopy_leftRobFlag";
import { AMI_ICopy_leftWatchRecordCopy } from "./AMI_ICopy_leftWatchRecordCopy";
import { AMI_ICopy_modifyGroup } from "./AMI_ICopy_modifyGroup";
import { AMI_ICopy_modifyGroupAllocation } from "./AMI_ICopy_modifyGroupAllocation";
import { AMI_ICopy_modifyGroupCaptain } from "./AMI_ICopy_modifyGroupCaptain";
import { AMI_ICopy_moveToPassPoint } from "./AMI_ICopy_moveToPassPoint";
import { AMI_ICopy_openChaosFightView } from "./AMI_ICopy_openChaosFightView";
import { AMI_ICopy_openCountryMoneyCopy } from "./AMI_ICopy_openCountryMoneyCopy";
import { AMI_ICopy_registArenaCross } from "./AMI_ICopy_registArenaCross";
import { AMI_ICopy_reject } from "./AMI_ICopy_reject";
import { AMI_ICopy_replyCrossCopyCost } from "./AMI_ICopy_replyCrossCopyCost";
import { AMI_ICopy_resetCopy } from "./AMI_ICopy_resetCopy";
import { AMI_ICopy_setCoinBossNum } from "./AMI_ICopy_setCoinBossNum";
import { AMI_ICopy_setCrossGuildWarNotice } from "./AMI_ICopy_setCrossGuildWarNotice";
import { AMI_ICopy_setGuildWarNotice } from "./AMI_ICopy_setGuildWarNotice";
import { AMI_ICopy_setLadderCareer } from "./AMI_ICopy_setLadderCareer";
import { AMI_ICopy_signUpArena } from "./AMI_ICopy_signUpArena";
import { EArenaMode } from "../Public/EArenaMode";
import { AMI_ICopy_signUpArenaCross } from "./AMI_ICopy_signUpArenaCross";
import { AMI_ICopy_signUpCrossGuildWar } from "./AMI_ICopy_signUpCrossGuildWar";
import { AMI_ICopy_signUpGuildWar } from "./AMI_ICopy_signUpGuildWar";
import { AMI_ICopy_signUpLadder } from "./AMI_ICopy_signUpLadder";
import { AMI_ICopy_signUpRobFlag } from "./AMI_ICopy_signUpRobFlag";
import { AMI_ICopy_startCeremony } from "./AMI_ICopy_startCeremony";
import { AMI_ICopy_submitBossFieldTask } from "./AMI_ICopy_submitBossFieldTask";
import { AMI_ICopy_useRaceSkill } from "./AMI_ICopy_useRaceSkill";
import { SRaceUseSkill } from "../Public/SRaceUseSkill";
import { AMI_ICopy_viewGroup } from "./AMI_ICopy_viewGroup";
import { AMI_ICopy_watchFightRecord } from "./AMI_ICopy_watchFightRecord";
type int = number;
//class ICopyPrxHelper
    
    export  class ICopyPrxHelper extends RMIProxyObject implements ICopyPrx
    {
        constructor()
        {
            
            super();name = "ICopy";
            return;
        }

        public SignUpCrossSpiritWar_async(arg1: AMI_ICopy_SignUpCrossSpiritWar, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("SignUpCrossSpiritWar");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public abandonFlag_async(arg1: AMI_ICopy_abandonFlag): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("abandonFlag");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public agree_async(arg1: AMI_ICopy_agree, arg2: EGroupMsgType, arg3: SEntityId, arg4: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("agree");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            arg3.__write(loc3);
            loc3.writeString(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public answerVerificationCode_async(arg1: AMI_ICopy_answerVerificationCode, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("answerVerificationCode");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public arenaCrossSendFlower_async(arg1: AMI_ICopy_arenaCrossSendFlower, arg2: SEntityId, arg3: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("arenaCrossSendFlower");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            loc3.writeBool(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public auctionDominionCity_async(arg1: AMI_ICopy_auctionDominionCity, arg2: int, arg3: int, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("auctionDominionCity");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public betArenaCross_async(arg1: AMI_ICopy_betArenaCross, arg2: SEntityId, arg3: int, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("betArenaCross");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public chooseArenaCrossFinalPos_async(arg1: AMI_ICopy_chooseArenaCrossFinalPos, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("chooseArenaCrossFinalPos");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public chooseArenaCrossGroup_async(arg1: AMI_ICopy_chooseArenaCrossGroup, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("chooseArenaCrossGroup");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public chooseCrossGuildWarEnemy_async(arg1: AMI_ICopy_chooseCrossGuildWarEnemy, arg2: SEntityId, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("chooseCrossGuildWarEnemy");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public chooseCrossGuildWarGroup_async(arg1: AMI_ICopy_chooseCrossGuildWarGroup, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("chooseCrossGuildWarGroup");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public createGroup_async(arg1: AMI_ICopy_createGroup, arg2: string, arg3: string, arg4: int, arg5: int, arg6: int, arg7: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("createGroup");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            loc3.writeInt(arg4);
            loc3.writeInt(arg5);
            loc3.writeInt(arg6);
            loc3.writeBool(arg7);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public doNextDrama_async(arg1: AMI_ICopy_doNextDrama, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("doNextDrama");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public drawArenaCrossBetReward_async(arg1: AMI_ICopy_drawArenaCrossBetReward): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("drawArenaCrossBetReward");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public drawCopyExp_async(arg1: AMI_ICopy_drawCopyExp, arg2: int, arg3: int, arg4: int, arg5: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("drawCopyExp");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            loc3.writeInt(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterArena_async(arg1: AMI_ICopy_enterArena, arg2: Boolean, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterArena");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterArenaCross_async(arg1: AMI_ICopy_enterArenaCross, arg2: Boolean, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterArenaCross");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterBattleField_async(arg1: AMI_ICopy_enterBattleField, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterBattleField");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterBossField_async(arg1: AMI_ICopy_enterBossField, arg2: SEntityId, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterBossField");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterChaosFight_async(arg1: AMI_ICopy_enterChaosFight): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterChaosFight");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterCopy_async(arg1: AMI_ICopy_enterCopy): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterCopy");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterCopyEx_async(arg1: AMI_ICopy_enterCopyEx, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterCopyEx");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterCopyWaitingRoom_async(arg1: AMI_ICopy_enterCopyWaitingRoom, arg2: int, arg3: int, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterCopyWaitingRoom");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterCountryMoneyCopy_async(arg1: AMI_ICopy_enterCountryMoneyCopy): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterCountryMoneyCopy");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterCrossBeach_async(arg1: AMI_ICopy_enterCrossBeach, arg2: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterCrossBeach");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterCrossBoss_async(arg1: AMI_ICopy_enterCrossBoss): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterCrossBoss");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterCrossBossEntrance_async(arg1: AMI_ICopy_enterCrossBossEntrance, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterCrossBossEntrance");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterCrossBossField_async(arg1: AMI_ICopy_enterCrossBossField, arg2: SEntityId, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterCrossBossField");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterCrossCopy_async(arg1: AMI_ICopy_enterCrossCopy, arg2: int, arg3: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterCrossCopy");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeBool(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterCrossCopyWaitingRoom_async(arg1: AMI_ICopy_enterCrossCopyWaitingRoom, arg2: int, arg3: int, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterCrossCopyWaitingRoom");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterCrossGuildWar_async(arg1: AMI_ICopy_enterCrossGuildWar, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterCrossGuildWar");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterCrossSea_async(arg1: AMI_ICopy_enterCrossSea, arg2: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterCrossSea");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterCrossSpa_async(arg1: AMI_ICopy_enterCrossSpa, arg2: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterCrossSpa");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterCrossSpiritWar_async(arg1: AMI_ICopy_enterCrossSpiritWar, arg2: int, arg3: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterCrossSpiritWar");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeBool(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterCrossStair_async(arg1: AMI_ICopy_enterCrossStair): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterCrossStair");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterDirectionDropCopy_async(arg1: AMI_ICopy_enterDirectionDropCopy, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterDirectionDropCopy");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterDominion_async(arg1: AMI_ICopy_enterDominion): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterDominion");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterDrama_async(arg1: AMI_ICopy_enterDrama, arg2: int, arg3: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterDrama");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeBool(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterEatBeans_async(arg1: AMI_ICopy_enterEatBeans): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterEatBeans");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterFairyland_async(arg1: AMI_ICopy_enterFairyland, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterFairyland");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterGuild_async(arg1: AMI_ICopy_enterGuild, arg2: int, arg3: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterGuild");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeBool(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterGuildAltar_async(arg1: AMI_ICopy_enterGuildAltar): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterGuildAltar");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterGuildDefense_async(arg1: AMI_ICopy_enterGuildDefense): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterGuildDefense");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterGuildElite_async(arg1: AMI_ICopy_enterGuildElite, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterGuildElite");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterGuildPasture_async(arg1: AMI_ICopy_enterGuildPasture): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterGuildPasture");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterGuildRobCityOne_async(arg1: AMI_ICopy_enterGuildRobCityOne): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterGuildRobCityOne");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterGuildRobCityThree_async(arg1: AMI_ICopy_enterGuildRobCityThree): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterGuildRobCityThree");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterGuildRobCityTwo_async(arg1: AMI_ICopy_enterGuildRobCityTwo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterGuildRobCityTwo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterGuildStruggle_async(arg1: AMI_ICopy_enterGuildStruggle): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterGuildStruggle");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterGuildWar_async(arg1: AMI_ICopy_enterGuildWar, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterGuildWar");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterHell_async(arg1: AMI_ICopy_enterHell, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterHell");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterKingChampionship_async(arg1: AMI_ICopy_enterKingChampionship): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterKingChampionship");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterLadder_async(arg1: AMI_ICopy_enterLadder, arg2: Boolean, arg3: int, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterLadder");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterMagicTower_async(arg1: AMI_ICopy_enterMagicTower, arg2: int, arg3: int, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterMagicTower");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterNewBattleField_async(arg1: AMI_ICopy_enterNewBattleField, arg2: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterNewBattleField");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterPeaceFieldList_async(arg1: AMI_ICopy_enterPeaceFieldList, arg2: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterPeaceFieldList");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterPlough_async(arg1: AMI_ICopy_enterPlough, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterPlough");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterRace_async(arg1: AMI_ICopy_enterRace, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterRace");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterRobFlag_async(arg1: AMI_ICopy_enterRobFlag): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterRobFlag");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterSkyCity_async(arg1: AMI_ICopy_enterSkyCity, arg2: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterSkyCity");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterSpa_async(arg1: AMI_ICopy_enterSpa, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterSpa");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterVIPHook_async(arg1: AMI_ICopy_enterVIPHook, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterVIPHook");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterWatchRecordCopy_async(arg1: AMI_ICopy_enterWatchRecordCopy): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterWatchRecordCopy");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public enterWedding_async(arg1: AMI_ICopy_enterWedding, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enterWedding");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public findGroup_async(arg1: AMI_ICopy_findGroup, arg2: Boolean, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("findGroup");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public findPlayer_async(arg1: AMI_ICopy_findPlayer, arg2: string, arg3: int, arg4: int, arg5: int, arg6: ECopyOrderType, arg7: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("findPlayer");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            loc3.writeInt(arg5);
            arg6.__write(loc3);
            loc3.writeInt(arg7);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public focusArenaCrossPlayer_async(arg1: AMI_ICopy_focusArenaCrossPlayer, arg2: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("focusArenaCrossPlayer");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getArenaBattles_async(arg1: AMI_ICopy_getArenaBattles): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getArenaBattles");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getArenaCrossBattleRecords_async(arg1: AMI_ICopy_getArenaCrossBattleRecords): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getArenaCrossBattleRecords");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getArenaCrossBattles_async(arg1: AMI_ICopy_getArenaCrossBattles): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getArenaCrossBattles");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getArenaCrossBetPlayerInfos_async(arg1: AMI_ICopy_getArenaCrossBetPlayerInfos, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getArenaCrossBetPlayerInfos");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getArenaCrossBetToplists_async(arg1: AMI_ICopy_getArenaCrossBetToplists, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getArenaCrossBetToplists");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getArenaCrossFightRecords_async(arg1: AMI_ICopy_getArenaCrossFightRecords, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getArenaCrossFightRecords");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getArenaCrossFinalBattles_async(arg1: AMI_ICopy_getArenaCrossFinalBattles, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getArenaCrossFinalBattles");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getArenaCrossGroupBattles_async(arg1: AMI_ICopy_getArenaCrossGroupBattles, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getArenaCrossGroupBattles");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getArenaCrossGroupMembers_async(arg1: AMI_ICopy_getArenaCrossGroupMembers, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getArenaCrossGroupMembers");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getArenaCrossInfo_async(arg1: AMI_ICopy_getArenaCrossInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getArenaCrossInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getArenaCrossMyBetInfos_async(arg1: AMI_ICopy_getArenaCrossMyBetInfos): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getArenaCrossMyBetInfos");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getArenaCrossPlayerInfo_async(arg1: AMI_ICopy_getArenaCrossPlayerInfo, arg2: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getArenaCrossPlayerInfo");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getArenaCrossRecords_async(arg1: AMI_ICopy_getArenaCrossRecords, arg2: Date): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getArenaCrossRecords");
            var loc3;
            (loc3 = new SerializeStream()).writeDate(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getArenaCrossTablet_async(arg1: AMI_ICopy_getArenaCrossTablet, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getArenaCrossTablet");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getArenaCrossToplist_async(arg1: AMI_ICopy_getArenaCrossToplist, arg2: int, arg3: int, arg4: Boolean, arg5: Boolean, arg6: int, arg7: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getArenaCrossToplist");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeBool(arg4);
            loc3.writeBool(arg5);
            loc3.writeInt(arg6);
            loc3.writeInt(arg7);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getArenaToplist_async(arg1: AMI_ICopy_getArenaToplist, arg2: int, arg3: int, arg4: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getArenaToplist");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeBool(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getBattleFieldInfo_async(arg1: AMI_ICopy_getBattleFieldInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getBattleFieldInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getBattleFieldScoreList_async(arg1: AMI_ICopy_getBattleFieldScoreList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getBattleFieldScoreList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getBossFieldInfo_async(arg1: AMI_ICopy_getBossFieldInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getBossFieldInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getBossFieldScoreList_async(arg1: AMI_ICopy_getBossFieldScoreList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getBossFieldScoreList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getBossHatredInfos_async(arg1: AMI_ICopy_getBossHatredInfos, arg2: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getBossHatredInfos");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCopyMarkBreakReward_async(arg1: AMI_ICopy_getCopyMarkBreakReward, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCopyMarkBreakReward");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCopyMarkReward_async(arg1: AMI_ICopy_getCopyMarkReward, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCopyMarkReward");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCopyWaitingRoomInfo_async(arg1: AMI_ICopy_getCopyWaitingRoomInfo, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCopyWaitingRoomInfo");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCountryMoneyActiveInfo_async(arg1: AMI_ICopy_getCountryMoneyActiveInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCountryMoneyActiveInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCountryMoneyCopyRank_async(arg1: AMI_ICopy_getCountryMoneyCopyRank, arg2: int, arg3: int, arg4: int, arg5: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCountryMoneyCopyRank");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            loc3.writeBool(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCrossBeachList_async(arg1: AMI_ICopy_getCrossBeachList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCrossBeachList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCrossBossFieldInfo_async(arg1: AMI_ICopy_getCrossBossFieldInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCrossBossFieldInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCrossBossGuildInfos_async(arg1: AMI_ICopy_getCrossBossGuildInfos, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCrossBossGuildInfos");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCrossCopyWaitingRoomInfo_async(arg1: AMI_ICopy_getCrossCopyWaitingRoomInfo, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCrossCopyWaitingRoomInfo");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCrossGuildWarFinalRank_async(arg1: AMI_ICopy_getCrossGuildWarFinalRank, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCrossGuildWarFinalRank");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCrossGuildWarMatchInfo_async(arg1: AMI_ICopy_getCrossGuildWarMatchInfo, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCrossGuildWarMatchInfo");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCrossSeaList_async(arg1: AMI_ICopy_getCrossSeaList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCrossSeaList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCrossSpaList_async(arg1: AMI_ICopy_getCrossSpaList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCrossSpaList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCrossSpiritWarCoinGetToplist_async(arg1: AMI_ICopy_getCrossSpiritWarCoinGetToplist, arg2: Boolean, arg3: int, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCrossSpiritWarCoinGetToplist");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCrossSpiritWarObserveList_async(arg1: AMI_ICopy_getCrossSpiritWarObserveList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCrossSpiritWarObserveList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCrossSpiritWarWaitingRoomInfo_async(arg1: AMI_ICopy_getCrossSpiritWarWaitingRoomInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCrossSpiritWarWaitingRoomInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCrossStairRank_async(arg1: AMI_ICopy_getCrossStairRank, arg2: int, arg3: int, arg4: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCrossStairRank");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeBool(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getDirectionCopyInfo_async(arg1: AMI_ICopy_getDirectionCopyInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getDirectionCopyInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getDominionAuctionCityList_async(arg1: AMI_ICopy_getDominionAuctionCityList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getDominionAuctionCityList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getDominionChatList_async(arg1: AMI_ICopy_getDominionChatList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getDominionChatList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getDominionCityList_async(arg1: AMI_ICopy_getDominionCityList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getDominionCityList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getDominionInfo_async(arg1: AMI_ICopy_getDominionInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getDominionInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getDominionMatchList_async(arg1: AMI_ICopy_getDominionMatchList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getDominionMatchList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getDominionScoreList_async(arg1: AMI_ICopy_getDominionScoreList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getDominionScoreList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getDominionSituationList_async(arg1: AMI_ICopy_getDominionSituationList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getDominionSituationList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getFairylandCopys_async(arg1: AMI_ICopy_getFairylandCopys): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getFairylandCopys");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildEliteCopyPlayerNum_async(arg1: AMI_ICopy_getGuildEliteCopyPlayerNum, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildEliteCopyPlayerNum");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildRobCityOneScoreList_async(arg1: AMI_ICopy_getGuildRobCityOneScoreList, arg2: int, arg3: int, arg4: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildRobCityOneScoreList");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeBool(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildWarCopyInfos_async(arg1: AMI_ICopy_getGuildWarCopyInfos): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildWarCopyInfos");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildWarScoreList_async(arg1: AMI_ICopy_getGuildWarScoreList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildWarScoreList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getKingChampionshipJoinTeamInfo_async(arg1: AMI_ICopy_getKingChampionshipJoinTeamInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getKingChampionshipJoinTeamInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getKingChampionshipRank_async(arg1: AMI_ICopy_getKingChampionshipRank, arg2: int, arg3: int, arg4: int, arg5: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getKingChampionshipRank");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            loc3.writeBool(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getLadderBattles_async(arg1: AMI_ICopy_getLadderBattles): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getLadderBattles");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getLadderMyInfo_async(arg1: AMI_ICopy_getLadderMyInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getLadderMyInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getLadderPlayerInfo_async(arg1: AMI_ICopy_getLadderPlayerInfo, arg2: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getLadderPlayerInfo");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getLadderToplist_async(arg1: AMI_ICopy_getLadderToplist, arg2: int, arg3: int, arg4: int, arg5: Boolean, arg6: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getLadderToplist");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            loc3.writeBool(arg5);
            loc3.writeBool(arg6);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getMyArenaCrossInfo_async(arg1: AMI_ICopy_getMyArenaCrossInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getMyArenaCrossInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getMyArenaInfo_async(arg1: AMI_ICopy_getMyArenaInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getMyArenaInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getMyDramaInfo_async(arg1: AMI_ICopy_getMyDramaInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getMyDramaInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getNewBattleFieldList_async(arg1: AMI_ICopy_getNewBattleFieldList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getNewBattleFieldList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getNewBattleFieldScoreList_async(arg1: AMI_ICopy_getNewBattleFieldScoreList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getNewBattleFieldScoreList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getPeaceFieldList_async(arg1: AMI_ICopy_getPeaceFieldList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getPeaceFieldList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getRaceRooms_async(arg1: AMI_ICopy_getRaceRooms): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getRaceRooms");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getRobCityThreeJoinTeamInfo_async(arg1: AMI_ICopy_getRobCityThreeJoinTeamInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getRobCityThreeJoinTeamInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getRobCityThreeRank_async(arg1: AMI_ICopy_getRobCityThreeRank, arg2: int, arg3: int, arg4: int, arg5: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getRobCityThreeRank");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            loc3.writeBool(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getRobCityTwoJoinTeamInfo_async(arg1: AMI_ICopy_getRobCityTwoJoinTeamInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getRobCityTwoJoinTeamInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getRobCityTwoRank_async(arg1: AMI_ICopy_getRobCityTwoRank, arg2: int, arg3: int, arg4: int, arg5: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getRobCityTwoRank");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            loc3.writeBool(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getSkyCityList_async(arg1: AMI_ICopy_getSkyCityList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getSkyCityList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getSpaList_async(arg1: AMI_ICopy_getSpaList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getSpaList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getWeddingGuests_async(arg1: AMI_ICopy_getWeddingGuests, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getWeddingGuests");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getWeddingNpcShop_async(arg1: AMI_ICopy_getWeddingNpcShop): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getWeddingNpcShop");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public giveUpArena_async(arg1: AMI_ICopy_giveUpArena): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("giveUpArena");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public inspireInBossField_async(arg1: AMI_ICopy_inspireInBossField, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("inspireInBossField");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public inspireInNewBattleField_async(arg1: AMI_ICopy_inspireInNewBattleField, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("inspireInNewBattleField");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public invite_async(arg1: AMI_ICopy_invite, arg2: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("invite");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public inviteDominionAlliance_async(arg1: AMI_ICopy_inviteDominionAlliance, arg2: int, arg3: int, arg4: int, arg5: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("inviteDominionAlliance");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            loc3.writeInt(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public inviteDominionAllianceReply_async(arg1: AMI_ICopy_inviteDominionAllianceReply, arg2: int, arg3: int, arg4: int, arg5: int, arg6: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("inviteDominionAllianceReply");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            loc3.writeInt(arg5);
            loc3.writeInt(arg6);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public joinGroup_async(arg1: AMI_ICopy_joinGroup, arg2: SEntityId, arg3: string, arg4: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("joinGroup");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            loc3.writeString(arg3);
            loc3.writeBool(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public kickOutGroup_async(arg1: AMI_ICopy_kickOutGroup, arg2: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("kickOutGroup");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public leftBattleField_async(arg1: AMI_ICopy_leftBattleField): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("leftBattleField");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public leftBossField_async(arg1: AMI_ICopy_leftBossField): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("leftBossField");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public leftChaosFight_async(arg1: AMI_ICopy_leftChaosFight): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("leftChaosFight");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public leftEatBeans_async(arg1: AMI_ICopy_leftEatBeans): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("leftEatBeans");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public leftGroup_async(arg1: AMI_ICopy_leftGroup): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("leftGroup");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public leftGuild_async(arg1: AMI_ICopy_leftGuild): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("leftGuild");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public leftHell_async(arg1: AMI_ICopy_leftHell): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("leftHell");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public leftRobFlag_async(arg1: AMI_ICopy_leftRobFlag): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("leftRobFlag");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public leftWatchRecordCopy_async(arg1: AMI_ICopy_leftWatchRecordCopy): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("leftWatchRecordCopy");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public modifyGroup_async(arg1: AMI_ICopy_modifyGroup, arg2: string, arg3: string, arg4: int, arg5: int, arg6: int, arg7: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("modifyGroup");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            loc3.writeInt(arg4);
            loc3.writeInt(arg5);
            loc3.writeInt(arg6);
            loc3.writeBool(arg7);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public modifyGroupAllocation_async(arg1: AMI_ICopy_modifyGroupAllocation, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("modifyGroupAllocation");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public modifyGroupCaptain_async(arg1: AMI_ICopy_modifyGroupCaptain, arg2: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("modifyGroupCaptain");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public moveToPassPoint_async(arg1: AMI_ICopy_moveToPassPoint, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("moveToPassPoint");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public openChaosFightView_async(arg1: AMI_ICopy_openChaosFightView): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("openChaosFightView");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public openCountryMoneyCopy_async(arg1: AMI_ICopy_openCountryMoneyCopy): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("openCountryMoneyCopy");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public registArenaCross_async(arg1: AMI_ICopy_registArenaCross): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("registArenaCross");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public reject_async(arg1: AMI_ICopy_reject, arg2: EGroupMsgType, arg3: SEntityId, arg4: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("reject");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            arg3.__write(loc3);
            loc3.writeString(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public replyCrossCopyCost_async(arg1: AMI_ICopy_replyCrossCopyCost, arg2: int, arg3: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("replyCrossCopyCost");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeBool(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public resetCopy_async(arg1: AMI_ICopy_resetCopy, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("resetCopy");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public setCoinBossNum_async(arg1: AMI_ICopy_setCoinBossNum, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("setCoinBossNum");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public setCrossGuildWarNotice_async(arg1: AMI_ICopy_setCrossGuildWarNotice, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("setCrossGuildWarNotice");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public setGuildWarNotice_async(arg1: AMI_ICopy_setGuildWarNotice, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("setGuildWarNotice");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public setLadderCareer_async(arg1: AMI_ICopy_setLadderCareer, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("setLadderCareer");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public signUpArena_async(arg1: AMI_ICopy_signUpArena, arg2: Boolean, arg3: EArenaMode): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("signUpArena");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            arg3.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public signUpArenaCross_async(arg1: AMI_ICopy_signUpArenaCross, arg2: Boolean, arg3: EArenaMode): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("signUpArenaCross");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            arg3.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public signUpCrossGuildWar_async(arg1: AMI_ICopy_signUpCrossGuildWar): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("signUpCrossGuildWar");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public signUpGuildWar_async(arg1: AMI_ICopy_signUpGuildWar, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("signUpGuildWar");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public signUpLadder_async(arg1: AMI_ICopy_signUpLadder, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("signUpLadder");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public signUpRobFlag_async(arg1: AMI_ICopy_signUpRobFlag, arg2: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("signUpRobFlag");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public startCeremony_async(arg1: AMI_ICopy_startCeremony): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("startCeremony");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public submitBossFieldTask_async(arg1: AMI_ICopy_submitBossFieldTask): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("submitBossFieldTask");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public useRaceSkill_async(arg1: AMI_ICopy_useRaceSkill, arg2: SRaceUseSkill): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("useRaceSkill");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public viewGroup_async(arg1: AMI_ICopy_viewGroup, arg2: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("viewGroup");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public watchFightRecord_async(arg1: AMI_ICopy_watchFightRecord, arg2: int, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("watchFightRecord");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public static /* const */NAME: string="Message.Game.ICopy";
    }
